package priv.pront.code.mati.province.comp;

import java.util.Scanner;

/**
 * @Description:
 * @Author: pront
 * @Time:2023-11-18 14:33
 */
public class Main5 {

    static int n;
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        n = scanner.nextInt();
        for (int i = 1; i <= n; i++) {
            if(i % 3 != 0){
                for (int j = 1; j <= i; j++) {
                    System.out.print("*");
                }
            }else{
                System.out.print("|");
            }

            System.out.println();
        }
    }
}
